package chapter11;

/**
 * Created by V5470-I5 on 2016/4/11.
 */
public class DeamonDemo {
    public static void main(String[] args){
        Thread thread =new Thread(){
            public void run(){
                while (true){
                    System.out.println("Orz");
                }
            }
        };
thread.setDaemon(true);
    thread.start();
    }
}
